<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>优惠搜-搜罗好东西|天猫淘宝优惠券</title>
        <include file="Index:header" />
        <!--<div class="top"></div>-->
        <div class="nav">
             <ul class="paixu">
                <h3>搜索</h3>
                <li>
                    <p>["<php>echo $kw</php>"]的搜索结果_</p>
                </li>
                <div class='clear'></div>
            </ul>
        </div>
        <div id="data">
            <volist name="json" id="vo">
                <div class='itmes'>
                    <a href='__ROOT__/read-{$vo.id}.html'>
                        <div class='itme'>
                             <div class="itme_zhezhao write"></div>
                            <div class="img">
                                <img src='{$vo.img}'/>
                            </div>
                            <p class='title'>{$vo.title}</p>
                            <span class='center'><h3>{$vo.price}元</h3></span>
                            <div class='clear'></div>
                            <span  class='quan left'>券{$vo.qprice}元</span>
                            <a href='__ROOT__/read-{$vo.id}.html' class='mai right'>立即购买</a>
                            <div class='clear'></div>
                        </div>
                    </a>
                </div>
            </volist> 
            
           <div class='clear'></div>
        </div>
        <div class="page">
            <ul>
                <if condition="($page eq 1)">
                <elseif condition="($page eq 2)"/>
                    <li>
                        <a href="__ROOT__/s?kw={$kw}&page={$page-1}"> 第{$page-1}页</a>
                    </li>
                <else /> 
                    <li>
                        <a href="__ROOT__/s?kw={$kw}&page=1"> 第1页</a> ***
                    </li>
                    <li>
                        <a href="__ROOT__/s?kw={$kw}&page={$page-1}"> 第{$page-1}页</a>
                    </li>
                </if>
                    <li>
                        <a class="now" href="__ROOT__/s?kw={$kw}&page={$page}"  disabled="disabled" class="now"> 第{$page}页</a>
                    </li>
                    <li>
                        <a href="__ROOT__/s?kw={$kw}&page={$page+1}">第{$page+1}页</a>
                    </li>
                    <li>
                        <a href="__ROOT__/s?kw={$kw}&page={$page+2}">第{$page+2}页</a>
                    </li>
                    <li>
                        <a href="__ROOT__/s?kw={$kw}&page={$page+3}">第{$page+3}页</a>
                    </li>
                 <div class='clear'></div>
            </ul>
        </div>

<script>
            console.log("----------------前端还要写代码？复制粘贴就是干----------");
            var page=<php>echo $page</php>;
            var r="s";
            var px="<php>echo $px</php>";
            var cid="";
            var kw="<php>echo $kw</php>";
            var fenlei="\"<php>echo $kw</php>\"_的搜索结果..."
             $(window).scroll(function(){loadmore($(this));});
        </script>
        <include file="Index:footer" />